fromInt

fun fromInt(type: Int): MessageType